import { ref, watch } from "vue";
export default function () {
    const title = ref('我是默认的title')
    watch(title, (newValue) => {
        document.title = title.value
    }, {
        immediate: true
    })
    return {
        title
    }
}